// 统一请求路径前缀在libs/axios.js中修改
import { getRequest, postRequest, putRequest, deleteRequest, importRequest, getRequestWithNoToken } from '@/libs/axios2';


// 文件上传接口
export const uploadFile = "/hboot/upload/file"
// 验证码渲染图片接口
export const drawCodeImage = "/hboot/common/captcha/draw/"
// 获取菜单
export const getMenuList = "/hboot/permission/getMenuList"
// 获取数据字典
export const getDictData = "/hboot/dictData/getByType/"
// Websocket
export const ws = "/hboot/ws"



// 登陆
export const login = (params) => {
    return postRequest('/login', params)
}
// 获取用户登录信息
export const userInfo = (params) => {
    return getRequest('/user/info', params)
}
// 注册
export const regist = (params) => {
    return postRequest('/user/regist', params)
}
// 初始化验证码
export const initCaptcha = (params) => {
    return getRequestWithNoToken('/common/captcha/init', params)
}
// 发送登录短信验证码
export const sendLoginSms = (mobile, params) => {
    return getRequestWithNoToken(`/common/captcha/sendLoginSms/${mobile}`, params)
}
// 发送注册短信验证码
export const sendRegistSms = (mobile, params) => {
    return getRequestWithNoToken(`/common/captcha/sendRegistSms/${mobile}`, params)
}
// 发送重置密码短信验证码
export const sendResetSms = (mobile, params) => {
    return getRequestWithNoToken(`/common/captcha/sendResetSms/${mobile}`, params)
}
// 发送修改绑定手机短信验证码
export const sendEditMobileSms = (mobile, params) => {
    return getRequest(`/common/captcha/sendEditMobileSms/${mobile}`, params)
}
// 通过手机重置密码
export const resetByMobile = (params) => {
    return postRequest('/user/resetByMobile', params)
}
// 发送重置密码邮件验证码
export const sendResetEmail = (email, params) => {
    return getRequestWithNoToken(`/email/sendResetCode/${email}`, params)
}
// 发送修改绑定邮件验证码
export const sendEditEmail = (email, params) => {
    return getRequest(`/email/sendEditCode/${email}`, params)
}
// 通过邮件重置密码
export const resetByEmail = (params) => {
    return postRequest('/email/resetByEmail', params)
}
// 短信验证码登录
export const smsLogin = (params) => {
    return postRequest('/user/smsLogin', params)
}
// IP天气信息
export const ipInfo = (params) => {
    return getRequest('/common/ip/info', params)
}
// 个人中心编辑
export const userInfoEdit = (params) => {
    return postRequest('/user/edit', params)
}
// 个人中心发送修改邮箱验证邮件
export const sendCodeEmail = (email, params) => {
    return getRequest(`/email/sendCode/${email}`, params)
}
// 个人中心发送修改邮箱验证邮件
export const editEmail = (params) => {
    return postRequest('/email/editEmail', params)
}
// 个人中心修改密码
export const changePass = (params) => {
    return postRequest('/user/modifyPass', params)
}
// 个人中心修改手机
export const changeMobile = (params) => {
    return postRequest('/user/changeMobile', params)
}
// 解锁
export const unlock = (params) => {
    return postRequest('/user/unlock', params)
}



// github登录
export const githubLogin = (params) => {
    return getRequestWithNoToken('/social/github/login', params)
}
// qq登录
export const qqLogin = (params) => {
    return getRequestWithNoToken('/social/qq/login', params)
}
// 微博登录
export const weiboLogin = (params) => {
    return getRequestWithNoToken('/social/weibo/login', params)
}
// 微信登录
export const wechatLogin = (params) => {
    return getRequestWithNoToken('/social/wechat/login', params)
}
// 绑定账号
export const relate = (params) => {
    return postRequest('/social/relate', params)
}
// 获取JWT
export const getJWT = (params) => {
    return getRequest('/social/getJWT', params)
}



// 获取绑定账号信息
export const relatedInfo = (username, params) => {
    return getRequest(`/relate/getRelatedInfo/${username}`, params)
}
// 解绑账号
export const unRelate = (params) => {
    return postRequest('/relate/delByIds', params)
}
// 分页获取绑定账号信息
export const getRelatedListData = (params) => {
    return getRequest('/relate/findByCondition', params)
}

// 获取活动数据
export const getActiveListData = (params) => {
    return getRequest('/active/getByCondition', params)
}
// 添加活动
export const addActive = (params) => {
    return postRequest('/active/add', params)
}
// 删除活动
export const deleteActive = (ids, params) => {
    return deleteRequest(`/active/delByIds/${ids}`, params)
}
// 编辑活动
export const editActive = (params) => {
    return postRequest(`/active/edit`, params)
}
//搜索
export const getByKeywordsListData = (params) =>{
    return getRequest('/search/query',params)
}
// 获取新闻
export const getNewsListData = (params) => {
    return getRequest('/news/getByCondition', params)
}
// 添加新闻
export const addNews = (params) => {
    return postRequest('/news/add', params)
}
// 删除新闻
export const deleteNews = (ids, params) => {
    return deleteRequest(`/news/delByIds/${ids}`, params)
}
// 编辑新闻
export const editNews = (params) => {
    return postRequest(`/news/edit`, params)
}

// 获取用户数据 多条件
export const getUserListData = (params) => {
    return getRequest('/user/getByCondition', params)
}
// 获取用户数据 多条件
export const getUserListDataByChoose = (params) => {
    return getRequest('/user/getByChoose', params)
}
// 获取被授权商数据 多条件
export const getLicenseeList = (params) => {
    // return getRequest('/user/getLicenseeList', params)
    return getRequestWithNoToken('/user/getLicenseeList', params)
}

// 通过用户名搜索
export const searchUserByName = (username, params) => {
    return getRequest('/user/searchByName/'+username, params)
}
// 获取全部用户数据
export const getAllUserData = (params) => {
    return getRequest('/user/getAll', params)
}
// 通过部门获取全部用户数据
export const getUserByDepartmentId = (id, params) => {
    return getRequest(`/user/getByDepartmentId/${id}`, params)
}
// 添加用户
export const addUser = (params) => {
    return postRequest('/user/admin/add', params)
}
// 编辑用户
export const editUser = (params) => {
    return postRequest('/user/admin/edit', params)
}

// 删除用户
export const deleteUser = (ids, params) => {
    return deleteRequest(`/user/delByIds/${ids}`, params)
}





// 获取一级部门
export const initDepartment = (params) => {
    return getRequest('/department/getByParentId/0', params)
}
// 加载部门子级数据
export const loadDepartment = (id, params) => {
    return getRequest(`/department/getByParentId/${id}`, params)
}
// 添加部门
export const addDepartment = (params) => {
    return postRequest('/department/add', params)
}
// 编辑部门
export const editDepartment = (params) => {
    return postRequest('/department/edit', params)
}
// 删除部门
export const deleteDepartment = (ids, params) => {
    return deleteRequest(`/department/delByIds/${ids}`, params)
}
// 搜索部门
export const searchDepartment = (params) => {
    return getRequest('/department/search', params)
}



// 获取全部角色数据
export const getAllRoleList = (params) => {
    return getRequest('/role/getAllList', params)
}
// 分页获取角色数据
export const getRoleList = (params) => {
    return getRequest('/role/getAllByPage', params)
}
// 添加角色
export const addRole = (params) => {
    return postRequest('/role/save', params)
}
// 编辑角色
export const editRole = (params) => {
    return postRequest('/role/edit', params)
}
// 设为或取消注册角色
export const setDefaultRole = (params) => {
    return postRequest('/role/setDefault', params)
}
// 分配角色权限
export const editRolePerm = (params) => {
    return postRequest('/role/editRolePerm', params)
}
// 分配角色数据权限
export const editRoleDep = (params) => {
    return postRequest('/role/editRoleDep', params)
}
// 删除角色
export const deleteRole = (ids, params) => {
    return deleteRequest(`/role/delAllByIds/${ids}`, params)
}



// 获取全部权限数据
export const getAllPermissionList = (params) => {
    return getRequest('/permission/getAllList', params)
}
// 添加权限
export const addPermission = (params) => {
    return postRequest('/permission/add', params)
}
// 编辑权限
export const editPermission = (params) => {
    return postRequest('/permission/edit', params)
}
// 删除权限
export const deletePermission = (ids, params) => {
    return deleteRequest(`/permission/delByIds/${ids}`, params)
}
// 搜索权限
export const searchPermission = (params) => {
    return getRequest('/permission/search', params)
}



// 获取全部字典
export const getAllDictList = (params) => {
    return getRequest('/dict/getAll', params)
}
// 添加字典
export const addDict = (params) => {
    return postRequest('/dict/add', params)
}
// 编辑字典
export const editDict = (params) => {
    return postRequest('/dict/edit', params)
}
// 删除字典
export const deleteDict = (ids, params) => {
    return deleteRequest(`/dict/delByIds/${ids}`, params)
}
// 搜索字典
export const searchDict = (params) => {
    return getRequest('/dict/search', params)
}
// 获取全部字典数据
export const getAllDictDataList = (params) => {
    return getRequest('/dictData/getByCondition', params)
}
// 添加字典数据
export const addDictData = (params) => {
    return postRequest('/dictData/add', params)
}
// 编辑字典数据
export const editDictData = (params) => {
    return postRequest('/dictData/edit', params)
}
// 删除字典数据
export const deleteData = (ids, params) => {
    return deleteRequest(`/dictData/delByIds/${ids}`, params)
}
// 通过类型获取字典数据
export const getDictDataByType = (type, params) => {
    return getRequest(`/dictData/getByType/${type}`, params)
}



// 分页获取日志数据
export const getLogListData = (params) => {
    return getRequest('/log/getAllByPage', params)
}
// 删除日志
export const deleteLog = (ids, params) => {
    return deleteRequest(`/log/delByIds/${ids}`, params)
}
// 清空日志
export const deleteAllLog = (params) => {
    return deleteRequest('/log/delAll', params)
}


// 分页获取Redis数据
export const getRedisData = (params) => {
    return getRequest('/redis/getAllByPage', params)
}
// 通过key获取Redis信息
export const getRedisByKey = (key, params) => {
    return getRequest(`/redis/getByKey/${key}`, params)
}
// 获取Redis键值数量
export const getRedisKeySize = (params) => {
    return getRequest('/redis/getKeySize', params)
}
// 获取Redis内存
export const getRedisMemory = (params) => {
    return getRequest('/redis/getMemory', params)
}
// 获取Redis信息
export const getRedisInfo = (params) => {
    return getRequest('/redis/info', params)
}
// 添加编辑Redis
export const saveRedis = (params) => {
    return postRequest('/redis/save', params)
}
// 删除Redis
export const deleteRedis = (params) => {
    return deleteRequest('/redis/delByKeys', params)
}
// 清空Redis
export const deleteAllRedis = (params) => {
    return deleteRequest('/redis/delAll', params)
}



// 分页获取定时任务数据
export const getQuartzListData = (params) => {
    return getRequest('/quartzJob/getAllByPage', params)
}
// 添加定时任务
export const addQuartz = (params) => {
    return postRequest('/quartzJob/add', params)
}
// 编辑定时任务
export const editQuartz = (params) => {
    return postRequest('/quartzJob/edit', params)
}
// 暂停定时任务
export const pauseQuartz = (params) => {
    return postRequest('/quartzJob/pause', params)
}
// 恢复定时任务
export const resumeQuartz = (params) => {
    return postRequest('/quartzJob/resume', params)
}
// 删除定时任务
export const deleteQuartz = (ids, params) => {
    return deleteRequest(`/quartzJob/delByIds/${ids}`, params)
}



// 分页获取消息数据
export const getMessageData = (params) => {
    return getRequest('/message/getByCondition', params)
}
// 获取单个消息详情
export const getMessageDataById = (id, params) => {
    return getRequest(`/message/get/${id}`, params)
}
// 添加消息
export const addMessage = (params) => {
    return postRequest('/message/add', params)
}
// 编辑消息
export const editMessage = (params) => {
    return postRequest('/message/edit', params)
}
// 删除消息
export const deleteMessage = (ids, params) => {
    return deleteRequest(`/message/delByIds/${ids}`, params)
}
// 分页获取系统消息推送数据
export const getMessageSendData = (params) => {
    return getRequest('/messageSend/getByCondition', params)
}
// 分页获取邮件消息推送数据
export const getMessageEmailSendData = (params) => {
    return getRequest('/messageEmailSend/getByCondition', params)
}
// 编辑发送消息
export const editMessageSend = (params) => {
    return putRequest('/messageSend/update', params)
}
// 删除发送消息
export const deleteMessageSend = (ids, params) => {
    return deleteRequest(`/messageSend/delByIds/${ids}`, params)
}



// 分页获取文件数据
export const getFileListData = (params) => {
    return getRequest('/file/getByCondition', params)
}
// 复制文件
export const copyFile = (params) => {
    return postRequest('/file/copy', params)
}
// 重命名文件
export const renameFile = (params) => {
    return postRequest('/file/rename', params)
}
// 删除文件
export const deleteFile = (ids, params) => {
    return deleteRequest(`/file/delete/${ids}`, params)
}
// 下载文件
export const aliDownloadFile = (fKey, params) => {
    return getRequest(`/file/ali/download/${fKey}`, params)
}


// 检查oss配置
export const checkOssSet = (params) => {
    return getRequest('/setting/oss/check', params)
}
// 获取oss配置
export const getOssSet = (serviceName, params) => {
    return getRequest(`/setting/oss/${serviceName}`, params)
}
// 编辑oss配置
export const editOssSet = (params) => {
    return postRequest('/setting/oss/set', params)
}
// 获取sms配置
export const getSmsSet = (serviceName, params) => {
    return getRequest(`/setting/sms/${serviceName}`, params)
}
// 获取sms模板code
export const getSmsTemplateCode = (type, params) => {
    return getRequest(`/setting/sms/templateCode/${type}`, params)
}
// 编辑sms配置
export const editSmsSet = (params) => {
    return postRequest('/setting/sms/set', params)
}
// 获取email配置
export const getEmailSet = (serviceName, params) => {
    return getRequest('/setting/email', params)
}
// 编辑email配置
export const editEmailSet = (params) => {
    return postRequest('/setting/email/set', params)
}

// 获取other配置
export const getOtherSet = (params) => {
    return getRequest('/setting/other', params)
}
// 编辑other配置
export const editOtherSet = (params) => {
    return postRequest('/setting/other/set', params)
}
// 查看私密配置
export const seeSecretSet = (settingName, params) => {
    return getRequest(`/setting/seeSecret/${settingName}`, params)
}



// 表格生成
export const generateTable = (name, rowNum, params) => {
    return importRequest(`/generate/table/${name}/${rowNum}`, params)
}
// 树生成
export const generateTree = (name, rowNum, params) => {
    return importRequest(`/generate/tree/${name}/${rowNum}`, params)
}
// 通过实体类生成Vue代码Json数据
export const getEntityData = (path, params) => {
    return getRequest(`/generate/getEntityData/${path}`, params)
}



// base64上传
export const base64Upload = (params) => {
    return postRequest('/upload/file', params)
}


// 获取全部导航数据
export const getAllChannelList = (params) => {
    return getRequest('/channel/getAllList', params)
}
// 添加导航
export const addChannel = (params) => {
    return postRequest('/channel/add', params)
}
// 编辑导航
export const editChannel = (params) => {
    return postRequest('/channel/edit', params)
}
// 删除导航
export const deleteChannel = (ids, params) => {
    return deleteRequest(`/channel/delByIds/${ids}`, params)
}
// 搜索导航
export const searchChannel = (params) => {
    return getRequest('/channel/search', params)
}
//发布、撤回
export const updateNewsStatusByIds = (params) => {
    return postRequest('/news/updateNewsStatusByIds', params)
}
//修改专委会
export const editCommittee = (params) => {
    return postRequest('/committee/edit', params)
}
//专委会信息
export const getCommitteeList = (params) => {
    return getRequest('/committee/getByCondition', params)
}
//专委会成员列表
export const getViceDirectorDepartList = (params) => {
    return getRequest('/vicedirectordepart/getByCondition', params)
}
//修改专委会成员
export const editViceDirectorDepart = (params) => {
    return postRequest('/vicedirectordepart/edit', params)
}
// 删除专委会成员
export const deleteViceDirectorDepart = (ids, params) => {
    return deleteRequest(`/vicedirectordepart/delByIds/${ids}`, params)
}

//活动信息
export const getMainActivityList = (params) => {
    return getRequest('/mainactivity/getByCondition', params)
}
//修改活动
export const editMainActivity = (params) => {
    return postRequest('/mainactivity/edit', params)
}
//联盟介绍图片信息
export const getLeagueIntroPicList = (params) => {
    return getRequest('/leagueintro/getLeagueIntroPic', params)
}
//修改联盟介绍图片
export const editLeagueIntroPic = (params) => {
    return postRequest('/leagueintro/editLeagueIntroPic', params)
}
//联盟协会信息
export const getLeagueSocietyListData = (params) => {
    return getRequest('/leagueintro/getLeagueSocietyList', params)
}
//修改联盟协会
export const editLeagueSociety = (params) => {
        return postRequest('/leagueintro/editLeagueSociety', params)
}
//增加联盟协会
export const addLeagueSociety = (params) => {
    return postRequest('/leagueintro/addLeagueSociety', params)
}
// 删除联盟协会
export const deleteLeagueSociety = (ids, params) => {
    return deleteRequest(`/leagueintro/delByIds/${ids}`, params)
}
//获取联盟动态数据
export const getLeagueDynamicByCondition = (params) => {
    return getRequest('/leagueintro/getLeagueDynamicByCondition', params)
}

//修改联盟动态
export const editLeagueDynamic = (params) => {
    return postRequest('/leagueintro/editLeagueDynamic', params)
}
// 删除联盟协会
export const deleteLeagueDynamic = (ids, params) => {
    return deleteRequest(`/leagueintro/deleteLeagueDynamic/${ids}`, params)
}
//获取联盟活动数据
export const getLeagueActivityByCondition = (params) => {
    return getRequest('/leagueintro/getLeagueActivityByCondition', params)
}

//发布、撤回联盟动态
export const updateLeagueDynamicStatusByIds = (params) => {
    return postRequest('/leagueintro/updateLeagueDynamicStatusByIds', params)
}

//修改联盟活动
export const editLeagueActivity = (params) => {
    return postRequest('/leagueintro/editLeagueActivity', params)
}
// 删除联盟活动
export const deleteLeagueActivity = (ids, params) => {
    return deleteRequest(`/leagueintro/deleteLeagueActivity/${ids}`, params)
}
//发布、撤回联盟活动
export const updateLeagueActivityStatusByIds = (params) => {
    return postRequest('/leagueintro/updateLeagueActivityStatusByIds', params)
}

//获取行业案例数据
export const getCaseListData = (params) => {
    return getRequest('/observation/getCaseListData', params)
}
//修改行业案例
export const editCase = (params) => {
    return postRequest('/observation/editCase', params)
}
// 删除行业案例
export const deleteCase = (ids, params) => {
    return deleteRequest(`/observation/deleteCase/${ids}`, params)
}
//
//发布、撤回行业案例
export const updateCaseStatusByIds = (params) => {
    return postRequest('/observation/updateCaseStatusByIds', params)
}

//获取行业报告
export const getObservationReportListData = (params) => {
    return getRequest('/observation/getObservationReportListData', params)
}
//修改行业报告
export const editObservationReport = (params) => {
    return postRequest('/observation/editObservationReport', params)
}
// 删除行业报告
export const deleteObservationReport = (ids, params) => {
    return deleteRequest(`/observation/deleteObservationReport/${ids}`, params)
}
//发布、撤回行业报告
export const updateObservationReportStatusByIds = (params) => {
    return postRequest('/observation/updateObservationReportStatusByIds', params)
}

//修改平台简介
export const editPlantformIntro = (params) => {
    return postRequest('/about/editPlantformIntro', params)
}
//获取平台简介
export const getPlantformIntroList = (params) => {
    return getRequest('/about/getPlantformIntroList', params)
}

//修改平台使命
export const editPlantformMission = (params) => {
    return postRequest('/about/editPlantformMission', params)
}
//获取平台使命
export const getPlantformMissionList = (params) => {
    return getRequest('/about/getPlantformMissionList', params)
}
// 删除平台使命
export const deletePlantformMission = (ids, params) => {
    return deleteRequest(`/about/deletePlantformMission/${ids}`, params)
}

//修改联盟成员
export const editLeagueMember = (params) => {
    return postRequest('/about/editLeagueMember', params)
}
//获取联盟成员
export const getLeagueMemberList = (params) => {
    return getRequest('/about/getLeagueMemberList', params)
}
// 删除联盟成员
export const deleteLeagueMember = (ids, params) => {
    return deleteRequest(`/about/deleteLeagueMember/${ids}`, params)
}

//修改生态圈介绍
export const editEcosphere = (params) => {
    return postRequest('/businessconn/editEcosphere', params)
}
//获取生态圈介绍
export const getEcosphereList = (params) => {
    return getRequest('/businessconn/getEcosphereList', params)
}

//修改活动
export const editActivity = (params) => {
    return postRequest('/businessconn/editActivity', params)
}
//获取活动
export const getActivityListData = (params) => {
    return getRequest('/businessconn/getActivityListData', params)
}
// 删除活动
export const deleteActivity = (ids, params) => {
    return deleteRequest(`/businessconn/deleteActivity/${ids}`, params)
}
//发布、撤回活动
export const updateActivityStatusByIds = (params) => {
    return postRequest('/businessconn/updateActivityStatusByIds', params)
}
//获取嘉宾
export const getGuestInfoListData = (params) => {
    return getRequest('/businessconn/getGuestInfoListData', params)
}
//修改嘉宾
export const editGuest = (params) => {
    return postRequest('/businessconn/editGuestInfo', params)
}
//修改帮助指南
export const editManaul = (params) => {
    return postRequest('/about/editManaul', params)
}
//获取帮助指南
export const getManaul = (params) => {
    return getRequest('/about/getManaul', params)
}

//修改联系我们
export const editContactUs = (params) => {
    return postRequest('/about/editContactUs', params)
}
//获取联系我们
export const getContactUsList = (params) => {
    return getRequest('/about/getContactUsList', params)
}
//删除联系我们
export const deleteContactUs = (ids, params) => {
    return deleteRequest(`/about/deleteContactUs/${ids}`, params)
}
//获取活动IP方关系
export const getActivityIper = (params) => {
    return getRequest('/businessconn/getActivityIper', params)
}
//保存活动IP方关系
export const editActivityIper = (params) => {
    return postRequest('/businessconn/editActivityIper', params)
}
//删除活动IP方关系
export const deleteActivityIper = (ids, params) => {
    return deleteRequest(`/businessconn/deleteActivityIper/${ids}`, params)
}

//修改生态圈介绍
export const editAboutCle = (params) => {
    return postRequest('/about/editAboutCle', params)
}
//获取生态圈介绍
export const getAboutCleList = (params) => {
    return getRequest('/about/getAboutCleList', params)
}

//推送到首页
export const updateFieldByIds = (params) => {
    return postRequest('/news/updateFieldByIds', params)
}

//修改首页cle
export const editHomeCle = (params) => {
    return postRequest('/about/editHomeCle', params)
}
//获取首页cle
export const getHomeCleList = (params) => {
    return getRequest('/about/getHomeCleList', params)
}

/*** 用户中心 ***/


//获取报名列表
export const getUserActivityList = (params) => {
    return getRequest(`/userActivity/getUserActivityList`, params)
}

/*** 用户中心 ***/

//编辑展会配置
export const editExhibitionConfig = (params) => {
    return postRequest('/exhibitionConfig/editExhibitionConfig', params)
}

//获取展会配置
export const getExhibitionConfigList = (params) => {
    return getRequest('/exhibitionConfig/getExhibitionConfigList', params)
}

//编辑邀约时间段
export const editInvitationTimepart = (params) => {
    return postRequest('/invitation/editInvitationTimepart', params)
}

//获取邀约时间段
export const getInvitationTimepartList = (params) => {
    return getRequest('/invitation/getInvitationTimepartList', params)
}

//删除邀约时间段
export const deleteInvitationTimepart = (ids, params) => {
    return deleteRequest(`/invitation/delByIds/${ids}`, params)
}



//删除邀约时间段
export const deleteGuest = (ids, params) => {
    return deleteRequest(`/businessconn/deleteGuestInfo/${ids}`, params)
}

//获取网站基础统计当天的数据
export const getWebBaseStatisticsTodayData = ( params) => {
    return getRequest(`/statistics/getWebBaseStatisticsTodayData`, params)
}
//查询网站基础统计图标数据
export const getWebBaseStatisticsChartData = ( params) => {
    return getRequest(`/statistics/getWebBaseStatisticsChartData`, params)
}
//查询网站基础统计表格数据
export const getWebBaseStatisticsTableData = (params) => {
    return getRequest(`/statistics/getWebBaseStatisticsTableData`, params)
}

//获取IP信息统计当天的数据
export const getIpInfoStatisticsTodayData = (params) => {
    return getRequest(`/statistics/getIpInfoStatisticsTodayData`, params)
}

//查询IP信息数量图标数据
export const getIpCountStatisticsChartData = (params) => {
    return getRequest(`/statistics/getIpCountStatisticsChartData`, params)
}

//查询IP信息点赞量前10数据
export const getIpParseCountTop10Data = (params) => {
    return getRequest(`/statistics/getIpParseCountTop10Data`, params)
}

//查询IP信息点赞量前10数据
export const getIpVisitCountTop10Data = (params) => {
    return getRequest(`/statistics/getIpVisitCountTop10Data`, params)
}

//查询IP信息点赞量，浏览量表格数据
export const getIpInfoStatisticsTableData = (params) => {
    return getRequest(`/statistics/getIpInfoStatisticsTableData`, params)
}

//查询IP方信息关注前10数据
export const getIperAttentionCountTop10Data = (params) => {
    return getRequest(`/statistics/getIperAttentionCountTop10Data`, params)
}

//查询IP方信息表格数据
export const getIperInfoStatisticsTableData = (params) => {
    return getRequest(`/statistics/getIperInfoStatisticsTableData`, params)
}

//获取邀约数据
export const getInvitationList = (params) => {
    return getRequest(`/invitation/getInvitationList`, params)
}

//获取活动数据
export const getActivitySelectList = (params) => {
    return getRequest(`/businessconn/getActivitySelectList`, params)
}

